package com.fangshuoit.repository;

import com.fangshuoit.dataobject.ProductCategory;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by 范承波 on 2017/9/23.
 * email：1197691639@qq.com
 * phone：18169015880
 */
public interface ProductCategoryRepository extends JpaRepository<ProductCategory,Integer> {
    //根据category的list查类目
    List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList);
}
